﻿using System.Windows.Forms;
using TestesFixacao.WindowsApp.Refatorado.Controls.Shared;

namespace TestesFixacao.WindowsApp.Refatorado.Controls.MateriaForms
{
    public partial class MateriaControl : BaseControl
    {
        public MateriaControl()
        {
            InitializeComponent();
        }

        public override DataGridViewColumn[] GetColunas()
        {
            var colunas = new DataGridViewColumn[]
                              {
                                  new DataGridViewTextBoxColumn
                                      {
                                          DataPropertyName = "Numero",
                                          HeaderText = "Numero",
                                      },
                                  new DataGridViewTextBoxColumn
                                      {
                                          DataPropertyName = "Nome",
                                          HeaderText = "Nome"
                                      },
                                  new DataGridViewTextBoxColumn
                                      {
                                          DataPropertyName = "Serie",
                                          HeaderText = "Série"
                                      },
                                  new DataGridViewTextBoxColumn
                                      {
                                          DataPropertyName = "Disciplina",
                                          HeaderText = "Disciplina"
                                      }
                              };

            return colunas;
        }
    }
}